Conceptual Homework- Chapter 16
How Does It Work?
a- The variation between Zac and Skylar in their vacation-taking (not accounting for year, just average) is calculated as follows:
#Zac mean
(3+7+5)/3
## [1] 5
#Skylar mean
(2+6+10)/3
## [1] 6
The numbers that represent the variation between Zac and Skylar are 5 and 6.
b- To isolate the variation within Zac and Skylar, we’ll be subtracting their mean from their value for each year:
#Zac
3-5
## [1] -2
7-5
## [1] 2
5-5
## [1] 0
#Skylar
2-6
## [1] -4
6-6
## [1] 0
10-6
## [1] 4
c- For this we’ll be comparing their between-individual variance (Skylar’s mean is 1 higher than Zac’s), so the fixed effects estimate will likely give us an answer closed to 2 since Skylar’s happiness point is 2 as opposed to 1
knitr::include_graphics("IMG_4879.png")